.class public Lcom/direction/hold/ui/SlideActivity;
.super Landroid/app/Activity;


# static fields
.field public static a:Lcom/direction/hold/ui/SlideActivity;

.field public static b:Lcom/direction/hold/FileApp;


# instance fields
.field public c:I

.field public d:Lcn/cheln/support/v4/pagerui/ViewPagerHelper;

.field private e:Ljava/util/ArrayList;


# direct methods
.method public constructor <init>(Lcom/direction/hold/FileApp;)V
    .locals 1

    invoke-direct {p0}, Landroid/app/Activity;-><init>()V

    const/4 v0, -0x1

    iput v0, p0, Lcom/direction/hold/ui/SlideActivity;->c:I

    return-void
.end method

.method private static a(Ljava/lang/Class;Landroid/content/Intent;Ljava/lang/Class;)Lcn/cheln/support/v4/pagerui/a;
    .locals 2

    new-instance v0, Lcn/cheln/support/v4/pagerui/a;

    invoke-virtual {p2}, Ljava/lang/Class;->getName()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, p1, p0, v1}, Lcn/cheln/support/v4/pagerui/a;-><init>(Landroid/content/Intent;Ljava/lang/Class;Ljava/lang/String;)V

    return-object v0
.end method

.method public static a(Lcom/direction/hold/FileApp;)V
    .locals 0

    sput-object p0, Lcom/direction/hold/ui/SlideActivity;->b:Lcom/direction/hold/FileApp;

    return-void
.end method

.method public static b()V
    .locals 0

    return-void
.end method

.method public static d(Lcom/direction/hold/FileApp;)V
    .locals 2

    const v0, 0x7f08007a

    invoke-virtual {p0, v0}, Lcom/direction/hold/FileApp;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcn/cheln/support/v4/pagerui/ViewPagerIndicator;

    new-instance v1, Lcom/direction/hold/ui/k;

    invoke-direct {v1, p0}, Lcom/direction/hold/ui/k;-><init>(Lcom/direction/hold/FileApp;)V

    invoke-virtual {v0, v1}, Lcn/cheln/support/v4/pagerui/ViewPagerIndicator;->a(Lcn/cheln/support/v4/pagerui/e;)V

    new-instance v1, Lcom/direction/hold/ui/l;

    invoke-direct {v1, v0}, Lcom/direction/hold/ui/l;-><init>(Lcn/cheln/support/v4/pagerui/ViewPagerIndicator;)V

    invoke-virtual {v0, v1}, Lcn/cheln/support/v4/pagerui/ViewPagerIndicator;->a(Lcn/cheln/support/v4/pagerui/d;)V

    const v1, 0x7f08007b

    invoke-virtual {p0, v1}, Lcom/direction/hold/FileApp;->findViewById(I)Landroid/view/View;

    move-result-object p0

    check-cast p0, Lcn/cheln/support/v4/view/PagerView;

    invoke-virtual {p0, v0}, Lcn/cheln/support/v4/view/PagerView;->a(Lcn/cheln/support/v4/view/k;)V

    return-void
.end method


# virtual methods
.method public final a()V
    .locals 3

    new-instance v0, Lcom/direction/hold/ui/j;

    invoke-direct {v0}, Lcom/direction/hold/ui/j;-><init>()V

    invoke-virtual {v0}, Lcom/direction/hold/ui/j;->start()V

    sget-object v0, Lcom/direction/hold/ui/SlideActivity;->b:Lcom/direction/hold/FileApp;

    const v1, 0x7f080077

    invoke-virtual {v0, v1}, Lcom/direction/hold/FileApp;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    const/4 v1, 0x1

    const/high16 v2, 0x41b0

    invoke-virtual {v0, v1, v2}, Landroid/widget/TextView;->setTextSize(IF)V

    sget-object v0, Lcom/direction/hold/ui/SlideActivity;->b:Lcom/direction/hold/FileApp;

    const v1, 0x7f080078

    invoke-virtual {v0, v1}, Lcom/direction/hold/FileApp;->findViewById(I)Landroid/view/View;

    move-result-object v0

    new-instance v1, Lcom/direction/hold/ui/SlideActivity$2;

    invoke-direct {v1, p0}, Lcom/direction/hold/ui/SlideActivity$2;-><init>(Lcom/direction/hold/ui/SlideActivity;)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method

.method public final b(Lcom/direction/hold/FileApp;)V
    .locals 0

    sput-object p0, Lcom/direction/hold/ui/SlideActivity;->a:Lcom/direction/hold/ui/SlideActivity;

    invoke-static {p1}, Lcn/cheln/explorer/ds/database/SQLManager;->a(Landroid/content/Context;)V

    invoke-static {}, Lcn/cheln/support/app/c;->a()V

    invoke-static {p1}, Lcn/cheln/explorer/ds/a/b;->a(Landroid/content/Context;)V

    return-void
.end method

.method public final c(Lcom/direction/hold/FileApp;)V
    .locals 4

    new-instance v0, Ljava/util/ArrayList;

    const/4 v1, 0x0

    invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(I)V

    iput-object v0, p0, Lcom/direction/hold/ui/SlideActivity;->e:Ljava/util/ArrayList;

    iget-object v0, p0, Lcom/direction/hold/ui/SlideActivity;->e:Ljava/util/ArrayList;

    const-class v1, Lcom/direction/hold/ui/CountActivity;

    invoke-virtual {p1}, Lcom/direction/hold/FileApp;->getIntent()Landroid/content/Intent;

    move-result-object v2

    invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v3

    invoke-static {v1, v2, v3}, Lcom/direction/hold/ui/SlideActivity;->a(Ljava/lang/Class;Landroid/content/Intent;Ljava/lang/Class;)Lcn/cheln/support/v4/pagerui/a;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    iget-object v0, p0, Lcom/direction/hold/ui/SlideActivity;->e:Ljava/util/ArrayList;

    const-class v1, Lcom/direction/hold/ui/PathActivity;

    invoke-virtual {p1}, Lcom/direction/hold/FileApp;->getIntent()Landroid/content/Intent;

    move-result-object v2

    invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v3

    invoke-static {v1, v2, v3}, Lcom/direction/hold/ui/SlideActivity;->a(Ljava/lang/Class;Landroid/content/Intent;Ljava/lang/Class;)Lcn/cheln/support/v4/pagerui/a;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    new-instance v0, Lcn/cheln/support/v4/pagerui/ViewPagerHelper;

    invoke-direct {v0, p1}, Lcn/cheln/support/v4/pagerui/ViewPagerHelper;-><init>(Landroid/app/Activity;)V

    iput-object v0, p0, Lcom/direction/hold/ui/SlideActivity;->d:Lcn/cheln/support/v4/pagerui/ViewPagerHelper;

    iget-object v0, p0, Lcom/direction/hold/ui/SlideActivity;->d:Lcn/cheln/support/v4/pagerui/ViewPagerHelper;

    iget-object v1, p0, Lcom/direction/hold/ui/SlideActivity;->e:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Lcn/cheln/support/v4/pagerui/ViewPagerHelper;->a(Ljava/util/List;)V

    return-void
.end method
